<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<title>编辑文章</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport"
		  content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all" />
	<script>
        var ctx = "${ctx}";
	</script>
	<style type="text/css">
		.layui-form-item .layui-inline {
			width: 33.333%;
			float: left;
			margin-right: 0;
		}

		@media ( max-width :1240px) {
			.layui-form-item .layui-inline {
				width: 100%;
				float: none;
			}
		}
	</style>
</head>
<body class="childrenBody">
<form class="layui-form" style="width: 80%;margin-top: 20px;">
	<input type="hidden" name="id" value="${cmssite.id}"/>

	<div class="layui-form-item">
		<label class="layui-form-label">站点名称</label>
		<div class="layui-input-block">
			<input type="text" id="name" class="layui-input userName"
				   lay-verify="required" placeholder="请输入站点名称" name="name" value="${cmssite.name}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">站点标题</label>
		<div class="layui-input-block">
			<input type="text" id="title" class="layui-input userName"
				   lay-verify="required" placeholder="请输入站点标题" name="title" value="${cmssite.title}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">站点Logo</label>
		<div class="layui-input-block">
			<input type="text" id="logo" class="layui-input userName"
				   lay-verify="required" placeholder="请输入站点Logo" name="logo" value="${cmssite.logo}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">站点域名</label>
		<div class="layui-input-block">
			<input type="text" id="domain" class="layui-input userName"
				   lay-verify="required" placeholder="请输入站点域名" name="domain" value="${cmssite.domain}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">描述</label>
		<div class="layui-input-block">
			<input type="text" id="description" class="layui-input userName"
				   lay-verify="required" placeholder="请输入描述" name="description" value="${cmssite.description}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">关键字</label>
		<div class="layui-input-block">
			<input type="text" id="keywords" class="layui-input userName"
				   lay-verify="required" placeholder="请输入关键字" name="keywords" value="${cmssite.keywords}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">主题</label>
		<div class="layui-input-block">
			<input type="text" id="theme" class="layui-input userName"
				   lay-verify="required" placeholder="请输入主题" name="theme" value="${cmssite.theme}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">版权信息</label>
		<div class="layui-input-block">
			<textarea type="text" id="copyright" class="layui-input"
					  lay-verify="required" placeholder="请输入版权信息" rows="2" name="copyright" >${cmssite.copyright}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">自定义站点首页视图</label>
		<div class="layui-input-block">
			<input type="text" id="customIndexView" class="layui-input userName"
				   lay-verify="required" placeholder="请输入自定义站点首页视图" name="customIndexView" value="${cmssite.customIndexView}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">创建者</label>
		<div class="layui-input-block">
			<input type="text" id="createBy" class="layui-input userName"
				   lay-verify="required" placeholder="请输入创建者" name="createBy" value="${cmssite.createBy}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">更新者</label>
		<div class="layui-input-block">
			<input type="text" id="updateBy" class="layui-input userName"
				   lay-verify="required" placeholder="请输入更新者" name="updateBy" value="${cmssite.updateBy}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">备注信息</label>
		<div class="layui-input-block">
			<input type="text" id="remarks" class="layui-input userName"
				   lay-verify="required" placeholder="请输入备注信息" name="remarks" value="${cmssite.remarks}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">删除标记</label>
		<div class="layui-input-block">
			<input type="text" id="delFlag" class="layui-input userName"
				   lay-verify="required" placeholder="请输入删除标记" name="delFlag" value="${cmssite.delFlag}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">创建时间</label>
		<div class="layui-input-block">
			<input type="text" id="createTime" class="layui-input userName"
				   lay-verify="required" placeholder="请输入创建时间" name="createTime" value="${cmssite.createTime}">
		</div>
	</div>

     

	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="" lay-filter="editcmssite">立即提交</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="${ctx}/layui/layui.js"></script>
<script type="text/javascript" src="${ctx}/page/cmssite/editcmssite.js"></script>

</body>
</html>